package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 记上课先扣课时，金额保存
 * </p>
 *
 * @author hpiggy
 * @since 2023-05-19
 */
@TableName("record_course_lack")
@ApiModel(value = "RecordCourseLack对象", description = "记上课先扣课时，金额保存")
@Data
public class RecordCourseLack implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long orderDetailId;

    private Integer buckleClassHouse;

    private BigDecimal buckleClassMoney;

    private Integer teacherGetHouse;

    private BigDecimal teacherGetMoney;

    private Long outId;

    private Long changeSchoolDetailId;

    @ApiModelProperty("是否扣除金额")
    private Integer isDeductMoney;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableLogic
    private Integer deleted;
}
